<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <title>{$site_info.site_seo_title}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    
    <link rel="stylesheet" href="__TMPL__/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_bi19zboykj2d42t9.css">
    <link rel="stylesheet" href="__TMPL__/css/common.css">
    <link rel="stylesheet" href="__TMPL__/css/{$controller_name|strtolower}.css">
    <!--[if lte IE 9]>
        <link rel="stylesheet" href="__TMPL__/css/ie8.css">
    <![endif]-->
</head>

<body>
   	<taglib name="app\portal\taglib\Portal"/>
    <div class="navbar navbar-default mynav">
        <div class="container">
            <div class="navbar-header navbar-left">               
                <a href='/'><img src="__TMPL__/img/logo.png" class="navbar-brand"></a>
            </div>
            <ul class="nav navbar-nav navbar-right mynav-ul">
                <li class="{$controller_name == 'Index'? 'active' : ''} this"><a href="/">首页</a></li>
                <li class="dropdown {$controller_name == 'News'? 'active' : ''}">
                    <a href="{:url('portal/News/index', ['id' => 9])}" class="dropdown-toggle" data-toggle="dropdown">新闻中心</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:url('portal/News/index', ['id' => 9])}">会议活动</a></li>
                        <li><a href="{:url('portal/News/index', ['id' => 10])}">市场政策</a></li>                    
                        <li class="nob"><a href="{:url('portal/News/index', ['id' => 11])}">行业资讯</a></li>
                    </ul>
                </li>
				<li class="dropdown <php> if(stristr($_SERVER['REQUEST_URI'], 'about')) echo 'active';</php>">
                    <a href="{:cmf_url('portal/Page/index?id=32')}" class="dropdown-toggle" data-toggle="dropdown">走进月供宝</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:cmf_url('portal/Page/index?id=32')}">市场背景</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=35')}">商业模式</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=36')}">项目优势</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=37')}">*0*月供</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=38')}">支持体系</a></li>
                        <li class="nob"><a href="{:cmf_url('portal/About/team')}">领导团队</a></li>
                    </ul>
                </li>
                <li class="dropdown <php> if(stristr($_SERVER['REQUEST_URI'], 'svip')) echo 'active';</php>">
                    <a href="{:cmf_url('portal/Page/index?id=39')}" class="dropdown-toggle" data-toggle="dropdown">SVIP会权</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:cmf_url('portal/Page/index?id=39')}">SVIP权益</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=40')}">0月供流程</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=41')}">0月供优势</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=42')}">基金补贴</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=43')}">商城补贴</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=44')}">加入SVIP会员</a></li>
                        <li class="nob"><a href="{:cmf_url('portal/Svip/wenda')}">问答中心</a></li>
                    </ul>
                </li>
                <li class="dropdown <php> if(stristr($_SERVER['REQUEST_URI'], 'join/')) echo 'active';</php>">
                    <a href="{:cmf_url('portal/Page/index?id=45')}" class="dropdown-toggle" data-toggle="dropdown">招商加盟</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:cmf_url('portal/Page/index?id=45')}">渠道体系</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=46')}">经销商加盟</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=47')}">分公司加盟</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=48')}">总部支持</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=49')}">大事件</a></li>
                        <li class="nob"><a href="{:cmf_url('portal/Join/apply')}">我要加盟</a></li>
                    </ul>
                </li>
                <li class="dropdown <php> if(stristr($_SERVER['REQUEST_URI'], 'build/')) echo 'active';</php>">
                    <a href="{:url('portal/build/index')}" class="dropdown-toggle" data-toggle="dropdown">楼盘专区</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:url('portal/build/index')}">签约楼盘</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=52')}">对接流程</a></li>                    
                        <li class="nob"><a href="{:url('portal/build/duijie')}">我要对接</a></li>
                    </ul>
                </li>
                <li class="dropdown <php> if(stristr($_SERVER['REQUEST_URI'], 'mall/')) echo 'active';</php>">
                    <a href="{:cmf_url('portal/Page/index?id=50')}" class="dropdown-toggle" data-toggle="dropdown">月供宝商城</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:cmf_url('portal/Page/index?id=50')}">商城介绍</a></li>
                        <li><a href="{:cmf_url('portal/Page/index?id=51')}">商城对接</a></li>
                        <li class="nob"><a data-toggle="modal" data-target="#mallcode" href="">进入商城</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="{:cmf_url('portal/Page/index?id=53')}" class="dropdown-toggle" data-toggle="dropdown">联系我们</a>
                    <ul class="dropdown-menu">
                        <li class="active this"><a href="{:cmf_url('portal/Page/index?id=53')}">联系方式</a></li>
                        <li><a href="{:url('portal/contact/message')}">留言中心</a></li>
                        <li class="nob"><a data-toggle="modal" data-target="#weicode"  href="">月供微站</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <div id="myCarousel" class="carousel slide">
        <div class="carousel-inner">
        	
			<php>
				if(stristr($_SERVER['REQUEST_URI'], 'news')):
			</php>
				<slides id="2">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'about')):
			</php>
				<slides id="3">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'svip')):
			</php>
				<slides id="4">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'join')):
			</php>
				<slides id="5">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'build')):
			</php>
				<slides id="6">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'mall')):
			</php>
				<slides id="7">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				elseif(stristr($_SERVER['REQUEST_URI'], 'contact')):
			</php>
				<slides id="8">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				else:
			</php>
				<slides id="1">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			<php>
				endif;
			</php>
       		<in name="i" value="0">
       			<slides id="1">
					<div class="item <in name="i" value="1">active</in>">
						<a href="{$vo.url}"><img src="{$vo.image|cmf_get_image_url}"></a>
					</div>
				</slides>
			</in>
        </div>
        <ol class="carousel-indicators">
			<php>
				for($j = 0; $j < $i; $j++):
			</php>
				<li data-target="#myCarousel" data-slide-to="{$j}" <in name="j" value="0">class="active"</in>></li>
			<php>
				endfor;
			</php>
        </ol>
        <a href="#myCarousel" data-slide="prev" class="controlbtn left"><i class="iconfont icon-zuo"></i></a>
        <a href="#myCarousel" data-slide="next" class="controlbtn right"><i class="iconfont icon-you"></i></a>
    </div>